package com.ylb.rent.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.checkerframework.checker.units.qual.A;

/**
 * 房间对象 room
 * 
 * @author ylb
 * @date 2023-06-29
 */
 @Builder
 @NoArgsConstructor
 @AllArgsConstructor
public class Room
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 房型名 */

    private String roomName;

    /** $column.columnComment */

    private String roomNo;

    /** $column.columnComment */

    private BigDecimal price;

    /** $column.columnComment */

    private Long area;

    /** $column.columnComment */

    private Long floor;

    /** $column.columnComment */

    private Long maxFloor;

    /** $column.columnComment */

    private Long bedId;

    /** $column.columnComment */

    private Long bathroom;

    /** $column.columnComment */

    private Long publicKitchen;

    /** $column.columnComment */

    private Long privateKitchen;

    /** $column.columnComment */

    private Date lastRenovation;

    /** $column.columnComment */

    private Long apartmentId;

    /** $column.columnComment */

    private Long isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setRoomNo(String roomNo) 
    {
        this.roomNo = roomNo;
    }

    public String getRoomNo() 
    {
        return roomNo;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setArea(Long area) 
    {
        this.area = area;
    }

    public Long getArea() 
    {
        return area;
    }
    public void setFloor(Long floor) 
    {
        this.floor = floor;
    }

    public Long getFloor() 
    {
        return floor;
    }
    public void setMaxFloor(Long maxFloor) 
    {
        this.maxFloor = maxFloor;
    }

    public Long getMaxFloor() 
    {
        return maxFloor;
    }
    public void setBedId(Long bedId) 
    {
        this.bedId = bedId;
    }

    public Long getBedId() 
    {
        return bedId;
    }
    public void setBathroom(Long bathroom) 
    {
        this.bathroom = bathroom;
    }

    public Long getBathroom() 
    {
        return bathroom;
    }
    public void setPublicKitchen(Long publicKitchen) 
    {
        this.publicKitchen = publicKitchen;
    }

    public Long getPublicKitchen() 
    {
        return publicKitchen;
    }
    public void setPrivateKitchen(Long privateKitchen) 
    {
        this.privateKitchen = privateKitchen;
    }

    public Long getPrivateKitchen() 
    {
        return privateKitchen;
    }
    public void setLastRenovation(Date lastRenovation) 
    {
        this.lastRenovation = lastRenovation;
    }

    public Date getLastRenovation() 
    {
        return lastRenovation;
    }
    public void setApartmentId(Long partmentId)
    {
        this.apartmentId = partmentId;
    }

    public Long getApartmentId()
    {
        return apartmentId;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomName", getRoomName())
            .append("roomNo", getRoomNo())
            .append("price", getPrice())
            .append("area", getArea())
            .append("floor", getFloor())
            .append("maxFloor", getMaxFloor())
            .append("bedId", getBedId())
            .append("bathroom", getBathroom())
            .append("publicKitchen", getPublicKitchen())
            .append("privateKitchen", getPrivateKitchen())
            .append("lastRenovation", getLastRenovation())
            .append("partmentId", getApartmentId())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
